package de.baumann.browser.api.net.vo;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class Transfer implements Serializable {

    private int trans_number;
    private String trans_date;
    @SerializedName(value = "to_user_name", alternate = {"to_user_id"})
    private String to_user_name;
    private String trans_id;

    @SerializedName("trans_type")
    private int transType;

    public int getTrans_number() {
        return trans_number;
    }

    public void setTrans_number(int trans_number) {
        this.trans_number = trans_number;
    }

    public String getTrans_date() {
        return trans_date;
    }

    public void setTrans_date(String trans_date) {
        this.trans_date = trans_date;
    }

    public String getTo_user_name() {
        return to_user_name;
    }

    public void setTo_user_name(String to_user_name) {
        this.to_user_name = to_user_name;
    }

    public String getTrans_id() {
        return trans_id;
    }

    public void setTrans_id(String trans_id) {
        this.trans_id = trans_id;
    }

    public int getTransType() {
        return transType;
    }

    public void setTransType(int transType) {
        this.transType = transType;
    }

    @Override
    public String toString() {
        return "Transfer{" +
                "trans_number=" + trans_number +
                ", trans_date='" + trans_date + '\'' +
                ", to_user_name='" + to_user_name + '\'' +
                ", trans_id='" + trans_id + '\'' +
                ", transType=" + transType +
                '}';
    }
}
